home *** CD-ROM | disk | FTP | other *** search
/ Shareware Extravaganza - Disc 4 / Shareware Extravaganza - Over 25,000 Programs (The Ultimate Shareware Company)(Disc 4 of 4)(1993).iso / cad / quikcmd2.zip / SSETS.DOC < prev    next >
Text File  |  1990-10-23  |  16KB  |  397 lines

  1.  
  2.  
  3.  
  4.                             QUICK COMMAND version 2.0
  5.  
  6.                          Copyright 1989, 1990 Dan Jincks
  7.  
  8.  
  9.                        SSETS.LSP is module of QUICK COMMAND
  10.  
  11.  
  12.                This is SHAREWARE, it is NOT Public Domain software.
  13.  
  14.                This code or any part of this code may not be reproduced
  15.                in any publication without prior written permission.
  16.  
  17.                Printed copy of this code or any part of this code may NOT
  18.                be distributed without prior written permission.
  19.  
  20.                Hard copy may only be made for reference purposes by
  21.                the end user.
  22.  
  23.  
  24.                                 Dan Jincks
  25.                               Box 155A HCR 77
  26.                             Annapolis, MO 63620
  27.  
  28.  
  29.  
  30.        You are granted a limited license to use SSETS.LSP, a module of
  31.        QUICK COMMAND, for a 30 day trial period.  If you wish to continue
  32.        using any or all of QUICK COMMAND after the trial period, you must
  33.        become a registered user.  As a registered user, you may use QUICK
  34.        COMMAND on 1 workstation or terminal.  Additional registrations must
  35.        be bought for each additional workstation or terminal.  To become a
  36.        registered user, fill out the order form that can be printed out
  37.        from ORDERQC.DOC
  38.  
  39.  
  40.        You may send copies of QUICK COMMAND to friends and associates if
  41.        you abide by the following rules:
  42.  
  43.        1.  It may only be distributed in the original unmodified form.
  44.        2.  All original files must be included.
  45.        3.  No addition files may be added.
  46.        4.  If other files will be on the same disk, QUICK COMMAND files
  47.            must be in a library format such as ".ARC" called "QUICKCMD",
  48.            or else be put alone in a subdirectory called "QUICKCMD".
  49.        5.  You may not sell QUICK COMMAND or any part of it.
  50.        6.  You are not allowed to charge more then $5 to cover the cost of
  51.            copying and distribution.
  52.        7.  You may not distribute any printed copy of the contents of QUICK
  53.            COMMAND.
  54.  
  55.  
  56.        These AutoLISP commands and functions are designed to save you time,
  57.        and saving time means saving money.  The registration fee is very
  58.        modest compared to the savings, and much less expensive then typical
  59.        third party AutoCAD software.  Be sure to registar if you continue
  60.        to use them.
  61.                                                                 DAN
  62.  
  63.  
  64.          AutoCAD and AutoLISP are registered trade marks of Autodesk Inc.
  65.  
  66.        *
  67.        *****************************  1  **********************************
  68.  
  69.        S1A
  70.  
  71.        PURPOSE:   Adds entities to SS1 Selection Set.
  72.  
  73.        SYNOPSIS:   Once the SS1 Selection Set is established [see S1S],
  74.        this command is used to add entities to it.  The existing SS1 set
  75.        becomes highlighted so you can see its contents, and the user builds
  76.        a selection set to be added to it.  The entities that will be added
  77.        and the existing set are all highlighted during the process, so
  78.        visualization of the results is very good.  Once finished, the
  79.        entire new SS1 set is highlighted, to verify proper results.
  80.  
  81.        LIMITATIONS:   Entities cannot be removed from the SS1 set. Use S1R.
  82.  
  83.        INPUT:   Screen pick to build a set.
  84.  
  85.        RESULTS:   Entities are added to SS1 selection set.
  86.  
  87.        USES:   To add more entities to the SS1 selection set.
  88.  
  89.        ********************************************************************
  90.  
  91.        S1F2
  92.  
  93.        PURPOSE:   Filter a type of entity from the SS2 set, into the SS1
  94.        set.
  95.  
  96.        SYNOPSIS:   First the SS2 [source] selection set is highlighted.
  97.        The user is then given a menu of entity types to choose one from.
  98.        Line, Circle, Arc, Point, Text, or POLyline.  All entities of that
  99.        type in the SS2 set are then added to the existing SS1 selection
  100.        set.  If the SS1 set is empty, they will be the only entities now in
  101.        it.  The entities acted on are not removed as members to the SS2
  102.        selection set, they are now members of both sets.  After the
  103.        filtering process is completed, The resulting SS1 [target] selection
  104.        set is highlighted for review.
  105.  
  106.        LIMITATIONS:   Entities are not removed from the source selection
  107.        set.
  108.  
  109.        INPUT:   Choice of entity type.
  110.  
  111.        RESULTS:   All instances of the choosen entity type in the SS2 set
  112.        are added to the SS1 selection set.
  113.  
  114.        USES:   To single out all occurrences of an entity type and create a
  115.        grouping to be acted upon by another command.  E.G. Collect all of
  116.        the text on a drawing and place it on one layer, or use to collect
  117.        and erase all of the "construction" nodes in an area of the drawing.
  118.        The possibilities are limited only by the cleverness of the user.
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.        *
  133.        *****************************  2  **********************************
  134.  
  135.        S1H
  136.  
  137.        PURPOSE:   Highlight the SS1 selection set and command input tool.
  138.  
  139.        SYNOPSIS:   This command serves 2 important functions:  1. It
  140.        visually highlights all of the entities in the SS1 selection set so
  141.        that the user can see the contents.  2. It uses the SELECT command.
  142.        This allows the SS1 selection set to be called up using the
  143.        "Previous" option by the next command - AutoCAD or AutoLISP.  This
  144.        is the only way that the SS1 selection set may be offered as input
  145.        to another AutoLISP command.
  146.  
  147.        LIMITATIONS:   None.
  148.  
  149.        INPUT:   None.
  150.  
  151.        RESULTS:   The SS1 set is highlighted on the screen and it may be
  152.        used as input in the next command, using the "Previous" option.
  153.  
  154.        USES:   To allow submission of the SS1 set as input to the next
  155.        command.  To see the contents of the SS1 set.
  156.  
  157.        ********************************************************************
  158.  
  159.        S1R
  160.  
  161.        PURPOSE:   Removes entity members from the SS1 selection set.
  162.  
  163.        SYNOPSIS:   The SS1 selection set becomes highlighted and the user
  164.        picks entities one at a time to be removed from the selection set.
  165.        After each pick, the highlighting of that entity goes out and only
  166.        the remaining members of the set are highlighted.
  167.  
  168.        LIMITATIONS:   Only one entity at a time is removed from the set.
  169.  
  170.        INPUT:   Screen pick of the desired entities.
  171.  
  172.        RESULTS:   Picked entities are removed from the SS1 selection set.
  173.  
  174.        USES:   Removing entities, as members, from the SS1 selection set.
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.        *
  199.        *****************************  3  **********************************
  200.  
  201.        S1S
  202.  
  203.        PURPOSE:   Create or clear the SS1 selection set.
  204.  
  205.        SYNOPSIS:   User builds an on-going selection set called SS1 that
  206.        will remain in memory and be recallable during the current editing
  207.        session.  This command also is used to empty out the SS1 selection
  208.        set by pressing <Enter> instead of selecting any entities.  The SS1
  209.        selection set may be offered as input to AutoCAD commands by typing
  210.        !SS1 when prompted to select.  For use as input to AutoLISP
  211.        commands, the "S1H" command must be used just before the desired
  212.        command, then it can be recalled using the "Previous" option.
  213.  
  214.        LIMITATIONS:   Selection sets are not saved - they only exist for
  215.        use during the editing session in which they were built.
  216.  
  217.        INPUT:   Build a selection set.
  218.  
  219.        RESULTS:   On-going selection set is built or emptied.
  220.  
  221.        USES:   Selection sets, like layers and blocks, have a great
  222.        diversity of possible uses - it all depends on the needs of the
  223.        user.  This command, and the rest of the commands in this group,
  224.        were originally invented to help in doing product design.  The
  225.        original use was as a sort of "flexible block" that allowed
  226.        groupings to be moved around, yet the individual entities can still
  227.        be manipulated and edited while remaining members of the set.  You
  228.        can trim or stretch a line, change properties like color or
  229.        linetype, or rotate or move it, or all of these things - and it
  230.        still will retain its membership to the selection set!  Use of
  231.        selection sets is ideal for designing interfitting and moving parts.
  232.        They allow rapid revisions and tuning to designs, that the use of
  233.        blocks and layers do poorly or not at all.  Selection sets cannot be
  234.        saved, so if you need to use one later, copy or move the set off of
  235.        the main drawing area before ending the editing session - that way
  236.        it can easily be "picked up" the next time that you go into the
  237.        drawing.  With a bit of imagination and experience, you will find
  238.        the versatility of selection sets to be a very powerful tool.
  239.  
  240.        ********************************************************************
  241.  
  242.        S2A
  243.  
  244.        PURPOSE:   Adds entities to SS2 Selection Set.
  245.  
  246.        SYNOPSIS:   Once the SS2 Selection Set is established [see S2S],
  247.        this command is used to add entities to it.  The existing SS2 set
  248.        becomes highlighted so you can see its contents, and the user builds
  249.        a selection set to be added to it.  The entities that will be added
  250.        and the existing set are all highlighted during the process, so
  251.        visualization of the results is very good.  Once finished, the
  252.        entire new SS2 set is highlighted, to verify proper results.
  253.  
  254.        LIMITATIONS:   Entities cannot be removed from the SS2 set. Use S2R.
  255.  
  256.        INPUT:   Screen pick to build a set.
  257.  
  258.        RESULTS:   Entities are added to SS2 selection set.
  259.  
  260.        USES:   To add more entities to the SS2 selection set.
  261.  
  262.  
  263.  
  264.        *
  265.        *****************************  4  **********************************
  266.  
  267.        S2F1
  268.  
  269.        PURPOSE:   Filter a type of entity from the SS1 set, into the SS2
  270.        set.
  271.  
  272.        SYNOPSIS:   First the SS1 [source] selection set is highlighted.
  273.        The user is then given a menu of entity types to choose one from.
  274.        Line, Circle, Arc, Point, Text, or POLyline.  All entities of that
  275.        type in the SS1 set are then added to the existing SS2 selection
  276.        set.  If the SS2 set is empty, they will be the only entities now in
  277.        it.  The entities acted on are not removed as members to the SS1
  278.        selection set, they are now members of both sets.  After the
  279.        filtering process is completed, The resulting SS2 [target] selection
  280.        set is highlighted for review.
  281.  
  282.        LIMITATIONS:   Entities are not removed from the source selection
  283.        set.
  284.  
  285.        INPUT:   Choice of entity type.
  286.  
  287.        RESULTS:   All instances of the choosen entity type in the SS1 set
  288.        are added to the SS2 selection set.
  289.  
  290.        USES:   To single out all occurrences of an entity type and create a
  291.        grouping to be acted upon by another command.  E.G. Collect all of
  292.        the text on a drawing and place it on one layer, or use to collect
  293.        and erase all of the "construction" nodes in an area of the drawing.
  294.        The possibilities are limited only by the cleverness of the user.
  295.  
  296.        ********************************************************************
  297.  
  298.        S2H
  299.  
  300.        PURPOSE:   Highlight the SS2 selection set and command input tool.
  301.  
  302.        SYNOPSIS:   This command serves 2 important functions:  1. It
  303.        visually highlights all of the entities in the SS2 selection set so
  304.        that the user can see the contents.  2. It uses the SELECT command.
  305.        This allows the SS2 selection set to be called up using the
  306.        "Previous" option by the next command - AutoCAD or AutoLISP.  This
  307.        is the only way that the SS2 selection set may be offered as input
  308.        to another AutoLISP command.
  309.  
  310.        LIMITATIONS:   None.
  311.  
  312.        INPUT:   None.
  313.  
  314.        RESULTS:   The SS2 set is highlighted on the screen and it may be
  315.        used as input in the next command, using the "Previous" option.
  316.  
  317.        USES:   To allow submission of the SS2 set as input to the next
  318.        command.  To see the contents of the SS2 set.
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.        *
  331.        *****************************  5  **********************************
  332.  
  333.        S2R
  334.  
  335.        PURPOSE:   Removes entity members from the SS2 selection set.
  336.  
  337.        SYNOPSIS:   The SS2 selection set becomes highlighted and the user
  338.        picks entities one at a time to be removed from the selection set.
  339.        After each pick, the highlighting of that entity goes out and only
  340.        the remaining members of the set are highlighted.
  341.  
  342.        LIMITATIONS:   Only one entity at a time is removed from the set.
  343.  
  344.        INPUT:   Screen pick of the desired entities.
  345.  
  346.        RESULTS:   Picked entities are removed from the SS2 selection set.
  347.  
  348.        USES:   Removing entities, as members, from the SS2 selection set.
  349.  
  350.        ********************************************************************
  351.  
  352.        S2S
  353.  
  354.        PURPOSE:   Create or clear the SS2 selection set.
  355.  
  356.        SYNOPSIS:   User builds an on-going selection set called SS2 that
  357.        will remain in memory and be recallable during the current editing
  358.        session.  This command also is used to empty out the SS2 selection
  359.        set by pressing <Enter> instead of selecting any entities.  The SS2
  360.        selection set may be offered as input to AutoCAD commands by typing
  361.        !SS2 when prompted to select.  For use as input to AutoLISP
  362.        commands, the "S2H" command must be used just before the desired
  363.        command, then it can be recalled using the "Previous" option.
  364.  
  365.        LIMITATIONS:   Selection sets are not saved - they only exist for
  366.        use during the editing session in which they were built.
  367.  
  368.        INPUT:   Build a selection set.
  369.  
  370.        RESULTS:   On-going selection set is built or emptied.
  371.  
  372.        USES:   Selection sets, like layers and blocks, have a great
  373.        diversity of possible uses - it all depends on the needs of the
  374.        user.  This command, and the rest of the commands in this group,
  375.        were originally invented to help in doing product design.  The
  376.        original use was as a sort of "flexible block" that allowed
  377.        groupings to be moved around, yet the individual entities can still
  378.        be manipulated and edited while remaining members of the set.  You
  379.        can trim or stretch a line, change properties like color or
  380.        linetype, or rotate or move it, or all of these things - and it
  381.        still will retain its membership to the selection set!  Use of
  382.        selection sets is ideal for designing interfitting and moving parts.
  383.        They allow rapid revisions and tuning to designs, that the use of
  384.        blocks and layers do poorly or not at all.  Selection sets cannot be
  385.        saved, so if you need to use one later, copy or move the set off of
  386.        the main drawing area before ending the editing session - that way
  387.        it can easily be "picked up" the next time that you go into the
  388.        drawing.  With a bit of imagination and experience, you will find
  389.        the versatility of selection sets to be a very powerful tool.
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.        *
  397.